복기해야 한다. Issue & Keyword로 정리한다. 자기 주도적 학습이란 무엇인지 체감하고 있다. 강의만 들었다면 절대 스스로 생각할 수 없었을 것이다. 당장 문제를 해결하지 못하는 것은 괜찮다. 시간이 흘러서 지나온 길을 돌아볼 때, 전에 없던 것을 가지고 있을 것이다.
JavaScript
if…else
- Boolean: 참(true)과 거짓(false), 1과 0
- 비교 연산자, 논리 연산자
- truthy
- fasly
String 문자열
-
모든 String method는 IMMUTABLE
-
str[index]str.charAt(index) -
str.indexOf(searchValue[, fromIndex]) -
str.includes(searchString[, position]) -
str.length -
String(thing)str.toString() -
str.toLowerCase() -
str.toUpperCase() -
str.concat(str2, str3[, ..., strN]) -
str.replace(/substr/gi, newSubstr) -
str.split([separator[, limit]]) -
str.slice(beginIndex[, endIndex])배열로 반환 -
str.substring(indexStart[, indexEnd])
Issue & Keyword
- 컴퓨터는 하나하나 명령을 해줘야 한다.
- 다짜고짜 코딩부터 하지말고 먼저 큰 그림을 봐야 한다.
- 의사코드와 알고리즘이란 키워드가 있다.
- Statements에 대한 이해가 기본이다.
else / else if나가는 길을 자주 놓친다.- return: 함수 실행을 종료하고, 주어진 값을 반환한다.
Boolean객체의 초기값- Number, Math, String, Template literals